home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / Bonus / Plasmatech / ptscp_eval.exe / %MAINDIR% / EvalC4 / UPTTreeList.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  2001-08-31  |  19.0 KB  |  577 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1999 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'UPTTreeList.pas' rev: 4.00
  6.  
  7. #ifndef UPTTreeListHPP
  8. #define UPTTreeListHPP
  9.  
  10. #pragma delphiheader begin
  11. #pragma option push -w-
  12. #include <ImgList.hpp>    // Pascal unit
  13. #include <Menus.hpp>    // Pascal unit
  14. #include <Commctrl.hpp>    // Pascal unit
  15. #include <ComCtrls.hpp>    // Pascal unit
  16. #include <Dialogs.hpp>    // Pascal unit
  17. #include <Forms.hpp>    // Pascal unit
  18. #include <Controls.hpp>    // Pascal unit
  19. #include <Graphics.hpp>    // Pascal unit
  20. #include <Classes.hpp>    // Pascal unit
  21. #include <SysUtils.hpp>    // Pascal unit
  22. #include <Messages.hpp>    // Pascal unit
  23. #include <Windows.hpp>    // Pascal unit
  24. #include <SysInit.hpp>    // Pascal unit
  25. #include <System.hpp>    // Pascal unit
  26.  
  27. //-- user supplied -----------------------------------------------------------
  28.  
  29. namespace Upttreelist
  30. {
  31. //-- type declarations -------------------------------------------------------
  32. #pragma pack(push, 1)
  33. struct TNMCustomDraw
  34. {
  35.     tagNMHDR hdr;
  36.     unsigned dwDrawStage;
  37.     HDC hdc;
  38.     Windows::TRect rc;
  39.     unsigned dwItemSpec;
  40.     unsigned uItemState;
  41.     int lParam;
  42. } ;
  43. #pragma pack(pop)
  44.  
  45. typedef TNMCustomDraw *PNMCustomDraw;
  46.  
  47. #pragma pack(push, 1)
  48. struct TNMLvCustomDraw
  49. {
  50.     TNMCustomDraw nmcd;
  51.     unsigned clrText;
  52.     unsigned clrTextBk;
  53.     int subItem;
  54. } ;
  55. #pragma pack(pop)
  56.  
  57. typedef TNMLvCustomDraw *PNMLvCustomDraw;
  58.  
  59. #pragma pack(push, 1)
  60. struct TNMTvCustomDraw
  61. {
  62.     TNMCustomDraw nmcd;
  63.     unsigned clrText;
  64.     unsigned clrTextBk;
  65.     int level;
  66. } ;
  67. #pragma pack(pop)
  68.  
  69. typedef TNMTvCustomDraw *PNMTvCustomDraw;
  70.  
  71. #pragma option push -b-
  72. enum TPTCustomDrawStage { ptcdsUnknown, ptcdsPrePaint, ptcdsPostPaint, ptcdsPreErase, ptcdsItemPrePaint, 
  73.     ptcdsItemPostPaint, ptcdsItemPreErase, ptcdsItemPostErase };
  74. #pragma option pop
  75.  
  76. class DELPHICLASS TPTCustomDraw;
  77. #pragma pack(push, 4)
  78. class PASCALIMPLEMENTATION TPTCustomDraw : public System::TObject 
  79. {
  80.     typedef System::TObject inherited;
  81.     
  82. private:
  83.     Graphics::TFont* mParentFont;
  84.     Graphics::TFont* mFont;
  85.     bool mfFontChanged;
  86.     Graphics::TBrush* mBrush;
  87.     bool mfBrushChanged;
  88.     bool mfWantItems;
  89.     bool mfNoDefaultDrawing;
  90.     TNMCustomDraw *mpcd;
  91.     int *mpResult;
  92.     bool mfUserResult;
  93.     Graphics::TCanvas* mCanvas;
  94.     void __fastcall OnFontChange(System::TObject* aSender);
  95.     void __fastcall OnBrushChange(System::TObject* aSender);
  96.     unsigned __fastcall GetRawDrawStage(void);
  97.     Windows::TRect __fastcall GetRect();
  98.     TPTCustomDrawStage __fastcall GetDrawStage(void);
  99.     Graphics::TFont* __fastcall GetFont(void);
  100.     Graphics::TBrush* __fastcall GetBrush(void);
  101.     Graphics::TCanvas* __fastcall GetCanvas(void);
  102.     HDC __fastcall GetHandle(void);
  103.     bool __fastcall GetIsItem(void);
  104.     unsigned __fastcall GetResult(void);
  105.     void __fastcall SetFont(Graphics::TFont* aValue);
  106.     void __fastcall SetBrush(Graphics::TBrush* aValue);
  107.     void __fastcall SetResult(unsigned aValue);
  108.     
  109. protected:
  110.     virtual void __fastcall Reset(const TNMCustomDraw &acd, int &aResult);
  111.     virtual Graphics::TFont* __fastcall CreateFont(void);
  112.     virtual Graphics::TBrush* __fastcall CreateBrush(void);
  113.     
  114. public:
  115.     __fastcall TPTCustomDraw(const TNMCustomDraw &acd, int &aResult, const Graphics::TFont* aParentFont
  116.         );
  117.     __fastcall virtual ~TPTCustomDraw(void);
  118.     virtual void __fastcall Apply(void) = 0 ;
  119.     __property unsigned RawDrawStage = {read=GetRawDrawStage, nodefault};
  120.     __property TPTCustomDrawStage DrawStage = {read=GetDrawStage, nodefault};
  121.     __property bool IsItem = {read=GetIsItem, nodefault};
  122.     __property bool WantItems = {read=mfWantItems, write=mfWantItems, nodefault};
  123.     __property unsigned Result = {read=GetResult, write=SetResult, nodefault};
  124.     __property Windows::TRect Rect = {read=GetRect};
  125.     __property Graphics::TCanvas* Canvas = {read=GetCanvas};
  126.     __property HDC Handle = {read=GetHandle, nodefault};
  127.     __property Graphics::TFont* Font = {read=GetFont, write=SetFont};
  128.     __property Graphics::TBrush* Brush = {read=GetBrush, write=SetBrush};
  129.     __property bool NoDefaultDrawing = {read=mfNoDefaultDrawing, write=mfNoDefaultDrawing, nodefault};
  130. };
  131.  
  132. #pragma pack(pop)
  133.  
  134. class DELPHICLASS TPTTvCustomDraw;
  135. #pragma pack(push, 4)
  136. class PASCALIMPLEMENTATION TPTTvCustomDraw : public TPTCustomDraw 
  137. {
  138.     typedef TPTCustomDraw inherited;
  139.     
  140. public:
  141.     PNMTvCustomDraw __fastcall GetMpTvCd(void);
  142.     __property PNMTvCustomDraw mpTvCd = {read=GetMpTvCd};
  143.     
  144. protected:
  145.     __fastcall TPTTvCustomDraw(const TNMCustomDraw &aCD, int &aResult, const Graphics::TFont* aParentFont
  146.         );
  147.     
  148. public:
  149.     virtual void __fastcall Apply(void);
  150. public:
  151.     #pragma option push -w-inl
  152.     /* TPTCustomDraw.Destroy */ inline __fastcall virtual ~TPTTvCustomDraw(void) { }
  153.     #pragma option pop
  154.     
  155. };
  156.  
  157. #pragma pack(pop)
  158.  
  159. class DELPHICLASS TPTLvCustomDraw;
  160. #pragma pack(push, 4)
  161. class PASCALIMPLEMENTATION TPTLvCustomDraw : public TPTCustomDraw 
  162. {
  163.     typedef TPTCustomDraw inherited;
  164.     
  165. public:
  166.     PNMLvCustomDraw __fastcall GetMpLvCd(void);
  167.     __property PNMLvCustomDraw mpLvCD = {read=GetMpLvCd};
  168.     
  169. protected:
  170.     __fastcall TPTLvCustomDraw(const TNMCustomDraw &acd, int &aResult, const Graphics::TFont* aParentFont
  171.         );
  172.     
  173. public:
  174.     virtual void __fastcall Apply(void);
  175. public:
  176.     #pragma option push -w-inl
  177.     /* TPTCustomDraw.Destroy */ inline __fastcall virtual ~TPTLvCustomDraw(void) { }
  178.     #pragma option pop
  179.     
  180. };
  181.  
  182. #pragma pack(pop)
  183.  
  184. typedef void __fastcall (__closure *TPTTvOnNodeContextMenuEvent)(System::TObject* aSender, Comctrls::TTreeNode* 
  185.     aNode, Windows::TPoint &aPos, Menus::TPopupMenu* &aMenu);
  186.  
  187. typedef void __fastcall (__closure *TPTTvCustomDrawEvent)(System::TObject* aSender, TPTCustomDraw* aCD
  188.     , Comctrls::TTreeNode* aNode);
  189.  
  190. class DELPHICLASS TPTCustomTreeView;
  191. #pragma pack(push, 4)
  192. class PASCALIMPLEMENTATION TPTCustomTreeView : public Comctrls::TCustomTreeView 
  193. {
  194.     typedef Comctrls::TCustomTreeView inherited;
  195.     
  196. private:
  197.     TPTTvOnNodeContextMenuEvent mOnNodeContextMenuProc;
  198.     TPTTvCustomDrawEvent mOnPTCustomDraw;
  199.     TPTTvCustomDrawEvent mOnPTCustomDrawEx;
  200.     bool mfMenuAlreadyHandled;
  201.     System::TObject* mLastCustomDrawObj;
  202.     HIDESBASE MESSAGE void __fastcall CMColorChanged(Messages::TMessage &aMsg);
  203.     HIDESBASE MESSAGE void __fastcall CMFontChanged(Messages::TMessage &aMsg);
  204.     HIDESBASE MESSAGE void __fastcall CMSysColorChange(Messages::TMessage &aMsg);
  205.     HIDESBASE MESSAGE void __fastcall CNNotify(Messages::TWMNotify &aMsg);
  206.     HIDESBASE MESSAGE void __fastcall WMRButtonUp(Messages::TWMMouse &aMsg);
  207.     MESSAGE void __fastcall WMContextMenu(Messages::TMessage &aMsg);
  208.     
  209. protected:
  210.     virtual void __fastcall CreateParams(Controls::TCreateParams &p);
  211.     virtual void __fastcall CreateWnd(void);
  212.     virtual void __fastcall DestroyWnd(void);
  213.     DYNAMIC TPTCustomDraw* __fastcall CreateCustomDraw(const TNMCustomDraw &aNMHDR, int &aResult);
  214.     virtual TPTCustomDraw* __fastcall PTCustomDraw(const TNMCustomDraw &aNMHDR, int &aResult);
  215.     DYNAMIC void __fastcall DoPreNodeContextMenu(void);
  216.     DYNAMIC void __fastcall DoNodeContextMenu(Comctrls::TTreeNode* aNode, const Windows::TPoint &ap);
  217.     DYNAMIC void __fastcall KeyDown(Word &key, Classes::TShiftState aShiftState);
  218.     DYNAMIC void __fastcall NodeContextMenu(Comctrls::TTreeNode* aNode, Windows::TPoint &aPos, Menus::TPopupMenu* 
  219.         &aMenu);
  220.     __property TPTTvCustomDrawEvent OnPTCustomDrawEx = {read=mOnPTCustomDrawEx, write=mOnPTCustomDrawEx
  221.         };
  222.     __property TPTTvCustomDrawEvent OnPTCustomDraw = {read=mOnPTCustomDraw, write=mOnPTCustomDraw};
  223.     __property TPTTvOnNodeContextMenuEvent OnNodeContextMenu = {read=mOnNodeContextMenuProc, write=mOnNodeContextMenuProc
  224.         };
  225.     
  226. public:
  227.     __fastcall virtual ~TPTCustomTreeView(void);
  228.     void __fastcall InvalidateNode(Comctrls::TTreeNode* aNode, bool afTextOnly, bool afEraseBkgnd);
  229. public:
  230.         
  231.     #pragma option push -w-inl
  232.     /* TCustomTreeView.Create */ inline __fastcall virtual TPTCustomTreeView(Classes::TComponent* AOwner
  233.         ) : Comctrls::TCustomTreeView(AOwner) { }
  234.     #pragma option pop
  235.     
  236. public:
  237.     #pragma option push -w-inl
  238.     /* TWinControl.CreateParented */ inline __fastcall TPTCustomTreeView(HWND ParentWindow) : Comctrls::TCustomTreeView(
  239.         ParentWindow) { }
  240.     #pragma option pop
  241.     
  242. };
  243.  
  244. #pragma pack(pop)
  245.  
  246. class DELPHICLASS TPTTreeView;
  247. #pragma pack(push, 4)
  248. class PASCALIMPLEMENTATION TPTTreeView : public TPTCustomTreeView 
  249. {
  250.     typedef TPTCustomTreeView inherited;
  251.     
  252. __published:
  253.     __property ShowButtons ;
  254.     __property BorderStyle ;
  255.     __property DragCursor ;
  256.     __property ShowLines ;
  257.     __property ShowRoot ;
  258.     __property ReadOnly ;
  259.     __property DragMode ;
  260.     __property HideSelection ;
  261.     __property Indent ;
  262.     __property Items ;
  263.     __property OnEditing ;
  264.     __property OnEdited ;
  265.     __property OnExpanding ;
  266.     __property OnExpanded ;
  267.     __property OnCollapsing ;
  268.     __property OnCompare ;
  269.     __property OnCollapsed ;
  270.     __property OnChanging ;
  271.     __property OnChange ;
  272.     __property OnDeletion ;
  273.     __property OnGetImageIndex ;
  274.     __property OnGetSelectedIndex ;
  275.     __property Align ;
  276.     __property Enabled ;
  277.     __property Font ;
  278.     __property Color ;
  279.     __property ParentColor ;
  280.     __property ParentCtl3D ;
  281.     __property Ctl3D ;
  282.     __property SortType ;
  283.     __property TabOrder ;
  284.     __property TabStop ;
  285.     __property Visible ;
  286.     __property OnClick ;
  287.     __property OnEnter ;
  288.     __property OnExit ;
  289.     __property OnDragDrop ;
  290.     __property OnDragOver ;
  291.     __property OnStartDrag ;
  292.     __property OnEndDrag ;
  293.     __property OnMouseDown ;
  294.     __property OnMouseMove ;
  295.     __property OnMouseUp ;
  296.     __property OnDblClick ;
  297.     __property OnKeyDown ;
  298.     __property OnKeyPress ;
  299.     __property OnKeyUp ;
  300.     __property PopupMenu ;
  301.     __property ParentFont ;
  302.     __property ParentShowHint ;
  303.     __property ShowHint ;
  304.     __property Images ;
  305.     __property StateImages ;
  306.     __property RightClickSelect ;
  307.     __property Anchors ;
  308.     __property AutoExpand ;
  309.     __property BiDiMode ;
  310.     __property BorderWidth ;
  311.     __property ChangeDelay ;
  312.     __property Constraints ;
  313.     __property DragKind ;
  314.     __property HotTrack ;
  315.     __property ParentBiDiMode ;
  316.     __property RowSelect ;
  317.     __property ToolTips ;
  318.     __property OnEndDock ;
  319.     __property OnStartDock ;
  320.     __property OnMouseWheelDown ;
  321.     __property OnMouseWheelUp ;
  322.     __property OnMouseWheel ;
  323.     __property OnCustomDraw ;
  324.     __property OnCustomDrawItem ;
  325.     __property OnPTCustomDraw ;
  326.     __property OnPTCustomDrawEx ;
  327.     __property OnNodeContextMenu ;
  328. public:
  329.     #pragma option push -w-inl
  330.     /* TPTCustomTreeView.Destroy */ inline __fastcall virtual ~TPTTreeView(void) { }
  331.     #pragma option pop
  332.     
  333. public:
  334.     #pragma option push -w-inl
  335.     /* TCustomTreeView.Create */ inline __fastcall virtual TPTTreeView(Classes::TComponent* AOwner) : TPTCustomTreeView(
  336.         AOwner) { }
  337.     #pragma option pop
  338.     
  339. public:
  340.     #pragma option push -w-inl
  341.     /* TWinControl.CreateParented */ inline __fastcall TPTTreeView(HWND ParentWindow) : TPTCustomTreeView(
  342.         ParentWindow) { }
  343.     #pragma option pop
  344.     
  345. };
  346.  
  347. #pragma pack(pop)
  348.  
  349. typedef void __fastcall (__closure *TPTLvOnItemContextMenuEvent)(System::TObject* aSender, Comctrls::TListItem* 
  350.     aItem, Windows::TPoint &aPos, Menus::TPopupMenu* &aMenu);
  351.  
  352. typedef void __fastcall (__closure *TPTLvCustomDrawEvent)(System::TObject* aSender, TPTCustomDraw* aCD
  353.     , Comctrls::TListItem* aItem);
  354.  
  355. #pragma option push -b-
  356. enum TPTLvSortDirection { ptsdAsc, ptsdDesc };
  357. #pragma option pop
  358.  
  359. #pragma option push -b-
  360. enum TPTLvHeaderSortDisplayMode { ptlvNone, ptlvLeftAlign, ptlvRightOfText, ptlvRightAlign };
  361. #pragma option pop
  362.  
  363. class DELPHICLASS TPTCustomListView;
  364. #pragma pack(push, 4)
  365. class PASCALIMPLEMENTATION TPTCustomListView : public Comctrls::TCustomListView 
  366. {
  367.     typedef Comctrls::TCustomListView inherited;
  368.     
  369. private:
  370.     TPTLvOnItemContextMenuEvent mOnItemContextMenuProc;
  371.     TPTLvCustomDrawEvent mOnPTCustomDraw;
  372.     TPTLvCustomDrawEvent mOnPTCustomDrawEx;
  373.     bool mfMenuAlreadyHandled;
  374.     System::TObject* mLastCustomDrawObj;
  375.     bool mfDragStarted;
  376.     Graphics::TCanvas* FHeaderCanvas;
  377.     int FHeaderSortColumn;
  378.     TPTLvSortDirection FHeaderSortDirection;
  379.     TPTLvHeaderSortDisplayMode FHeaderSortDisplayMode;
  380.     bool FHeaderDefaultDrawing;
  381.     int FSetHeaderODStyleSem;
  382.     HWND __fastcall GetHeaderHandle(void);
  383.     Comctrls::TViewStyle __fastcall GetViewStyle(void);
  384.     HIDESBASE MESSAGE void __fastcall CMColorChanged(Messages::TMessage &aMsg);
  385.     HIDESBASE MESSAGE void __fastcall CMSysColorChange(Messages::TMessage &aMsg);
  386.     HIDESBASE MESSAGE void __fastcall CNNotify(Messages::TWMNotify &aMsg);
  387.     void __fastcall SetHeaderSortColumn(int Value);
  388.     void __fastcall SetHeaderSortDirection(TPTLvSortDirection Value);
  389.     void __fastcall SetHeaderSortDisplayMode(TPTLvHeaderSortDisplayMode Value);
  390.     MESSAGE void __fastcall AMInitStage2(Messages::TMessage &aMsg);
  391.     MESSAGE void __fastcall WMContextMenu(Messages::TMessage &aMsg);
  392.     HIDESBASE MESSAGE void __fastcall WMDrawItem(Messages::TWMDrawItem &aMsg);
  393.     HIDESBASE MESSAGE void __fastcall WMNotify(Messages::TWMNotify &aMsg);
  394.     HIDESBASE MESSAGE void __fastcall WMParentNotify(Messages::TWMParentNotify &aMsg);
  395.     HIDESBASE MESSAGE void __fastcall WMRButtonUp(Messages::TWMMouse &aMsg);
  396.     
  397. protected:
  398.     HIDESBASE void __fastcall SetViewStyle(Comctrls::TViewStyle AValue);
  399.     virtual void __fastcall CreateWnd(void);
  400.     virtual void __fastcall DestroyWnd(void);
  401.     void __fastcall DrawHeader(int AIndex, const Windows::TRect &ARect);
  402.     void __fastcall DrawHeaderGlyphs(int Index, const Windows::TRect &ARect);
  403.     void __fastcall DefaultDrawHeader(int AIndex, const Windows::TRect &ARect);
  404.     void __fastcall SetHeaderODStyle(void);
  405.     DYNAMIC TPTCustomDraw* __fastcall CreateCustomDraw(const TNMCustomDraw &aNMHDR, int &aResult);
  406.     virtual TPTCustomDraw* __fastcall PTCustomDraw(const TNMCustomDraw &aNMHDR, int &aResult);
  407.     DYNAMIC void __fastcall DoPreItemContextMenu(const Windows::TPoint &pt);
  408.     DYNAMIC void __fastcall DoItemContextMenu(const Windows::TPoint &p);
  409.     DYNAMIC void __fastcall ItemContextMenu(Comctrls::TListItem* aItem, Windows::TPoint &aPos, Menus::TPopupMenu* 
  410.         &aMenu);
  411.     DYNAMIC void __fastcall KeyDown(Word &key, Classes::TShiftState aShiftState);
  412.     __property TPTLvCustomDrawEvent OnPTCustomDraw = {read=mOnPTCustomDraw, write=mOnPTCustomDraw};
  413.     __property TPTLvCustomDrawEvent OnPTCustomDrawEx = {read=mOnPTCustomDrawEx, write=mOnPTCustomDrawEx
  414.         };
  415.     __property TPTLvOnItemContextMenuEvent OnItemContextMenu = {read=mOnItemContextMenuProc, write=mOnItemContextMenuProc
  416.         };
  417.     __property Graphics::TCanvas* HeaderCanvas = {read=FHeaderCanvas};
  418.     __property HWND HeaderHandle = {read=GetHeaderHandle, nodefault};
  419.     __property bool HeaderDefaultDrawing = {read=FHeaderDefaultDrawing, write=FHeaderDefaultDrawing, default=1
  420.         };
  421.     __property TPTLvHeaderSortDisplayMode HeaderSortDisplayMode = {read=FHeaderSortDisplayMode, write=SetHeaderSortDisplayMode
  422.         , default=2};
  423.     __property int HeaderSortColumn = {read=FHeaderSortColumn, write=SetHeaderSortColumn, default=-1};
  424.     __property TPTLvSortDirection HeaderSortDirection = {read=FHeaderSortDirection, write=SetHeaderSortDirection
  425.         , default=0};
  426.     __property Comctrls::TViewStyle ViewStyle = {read=GetViewStyle, write=SetViewStyle, default=0};
  427.     
  428. public:
  429.     __fastcall virtual TPTCustomListView(Classes::TComponent* aOwner);
  430.     __fastcall virtual ~TPTCustomListView(void);
  431. public:
  432.     #pragma option push -w-inl
  433.     /* TWinControl.CreateParented */ inline __fastcall TPTCustomListView(HWND ParentWindow) : Comctrls::TCustomListView(
  434.         ParentWindow) { }
  435.     #pragma option pop
  436.     
  437. };
  438.  
  439. #pragma pack(pop)
  440.  
  441. class DELPHICLASS TPTListView;
  442. #pragma pack(push, 4)
  443. class PASCALIMPLEMENTATION TPTListView : public TPTCustomListView 
  444. {
  445.     typedef TPTCustomListView inherited;
  446.     
  447. public:
  448.     __property HeaderCanvas ;
  449.     __property HeaderHandle ;
  450.     __property HeaderSortColumn ;
  451.     __property HeaderSortDirection ;
  452.     
  453. __published:
  454.     __property Align ;
  455.     __property BorderStyle ;
  456.     __property Color ;
  457.     __property ColumnClick ;
  458.     __property Columns ;
  459.     __property Enabled ;
  460.     __property OnClick ;
  461.     __property OnDblClick ;
  462.     __property Ctl3D ;
  463.     __property DragMode ;
  464.     __property ReadOnly ;
  465.     __property Font ;
  466.     __property HideSelection ;
  467.     __property IconOptions ;
  468.     __property Items ;
  469.     __property AllocBy ;
  470.     __property MultiSelect ;
  471.     __property OnChange ;
  472.     __property OnChanging ;
  473.     __property OnColumnClick ;
  474.     __property OnCompare ;
  475.     __property OnDeletion ;
  476.     __property OnEdited ;
  477.     __property OnEditing ;
  478.     __property OnEnter ;
  479.     __property OnExit ;
  480.     __property OnInsert ;
  481.     __property OnDragDrop ;
  482.     __property OnDragOver ;
  483.     __property DragCursor ;
  484.     __property OnStartDrag ;
  485.     __property OnEndDrag ;
  486.     __property OnMouseDown ;
  487.     __property OnMouseMove ;
  488.     __property OnMouseUp ;
  489.     __property ParentColor ;
  490.     __property ParentFont ;
  491.     __property ParentShowHint ;
  492.     __property ShowHint ;
  493.     __property PopupMenu ;
  494.     __property ShowColumnHeaders ;
  495.     __property SortType ;
  496.     __property TabOrder ;
  497.     __property TabStop ;
  498.     __property ViewStyle ;
  499.     __property Visible ;
  500.     __property OnKeyDown ;
  501.     __property OnKeyPress ;
  502.     __property OnKeyUp ;
  503.     __property StateImages ;
  504.     __property LargeImages ;
  505.     __property SmallImages ;
  506.     __property Checkboxes ;
  507.     __property GridLines ;
  508.     __property HotTrack ;
  509.     __property RowSelect ;
  510.     __property Anchors ;
  511.     __property BiDiMode ;
  512.     __property BorderWidth ;
  513.     __property Constraints ;
  514.     __property DragKind ;
  515.     __property FlatScrollBars ;
  516.     __property FullDrag ;
  517.     __property HotTrackStyles ;
  518.     __property OwnerData ;
  519.     __property OwnerDraw ;
  520.     __property ParentBiDiMode ;
  521.     __property OnData ;
  522.     __property OnDataFind ;
  523.     __property OnDataHint ;
  524.     __property OnDataStateChange ;
  525.     __property OnDrawItem ;
  526.     __property OnGetImageIndex ;
  527.     __property OnResize ;
  528.     __property OnEndDock ;
  529.     __property OnStartDock ;
  530.     __property OnSelectItem ;
  531.     __property OnMouseWheelDown ;
  532.     __property OnMouseWheelUp ;
  533.     __property OnMouseWheel ;
  534.     __property OnCustomDraw ;
  535.     __property OnCustomDrawItem ;
  536.     __property HeaderDefaultDrawing ;
  537.     __property HeaderSortDisplayMode ;
  538.     __property OnPTCustomDraw ;
  539.     __property OnPTCustomDrawEx ;
  540.     __property OnItemContextMenu ;
  541. public:
  542.     #pragma option push -w-inl
  543.     /* TPTCustomListView.Create */ inline __fastcall virtual TPTListView(Classes::TComponent* aOwner) : 
  544.         TPTCustomListView(aOwner) { }
  545.     #pragma option pop
  546.     #pragma option push -w-inl
  547.     /* TPTCustomListView.Destroy */ inline __fastcall virtual ~TPTListView(void) { }
  548.     #pragma option pop
  549.     
  550. public:
  551.     #pragma option push -w-inl
  552.     /* TWinControl.CreateParented */ inline __fastcall TPTListView(HWND ParentWindow) : TPTCustomListView(
  553.         ParentWindow) { }
  554.     #pragma option pop
  555.     
  556. };
  557.  
  558. #pragma pack(pop)
  559.  
  560. //-- var, const, procedure ---------------------------------------------------
  561. extern PACKAGE void __fastcall DrawDownArrow(Graphics::TCanvas* ACanvas, const Windows::TRect &ARect
  562.     , Graphics::TColor ABackgroundColor, Graphics::TColor AShadowColor, Graphics::TColor AHighlightColor
  563.     );
  564. extern PACKAGE void __fastcall DrawUpArrow(Graphics::TCanvas* ACanvas, const Windows::TRect &ARect, 
  565.     Graphics::TColor ABackgroundColor, Graphics::TColor AShadowColor, Graphics::TColor AHighlightColor)
  566.     ;
  567.  
  568. }    /* namespace Upttreelist */
  569. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  570. using namespace Upttreelist;
  571. #endif
  572. #pragma option pop    // -w-
  573.  
  574. #pragma delphiheader end.
  575. //-- end unit ----------------------------------------------------------------
  576. #endif    // UPTTreeList
  577.